<template>
  <!-- 即将上线 -->
  <div class="be-coming-soon">
    <!--  标题区 -->
    <div class="be-coming-soon-title">
      <div>即将上线</div>
      <div @click="handlUpcoming">查看更多</div>
    </div>
    <!--  内容区 -->
    <new-chunk></new-chunk>
  </div>
</template>

<script>
import newChunk from '@/components/video-box/new-chunk'
import { useRouter } from 'vue-router'
export default {
  components: {
    newChunk
  },
  setup() {
    const router = useRouter()
    const handlUpcoming = () => {
      router.push({ name: 'upcoming', params: { title: 'upcoming' } })
    }
    return {
      handlUpcoming
    }
  }
}
</script>

<style lang="scss" scoped>
.be-coming-soon {
  // position: relative;
  width: 100%;
  background-color: aqua;
  // overflow: hidden;
  // overflow-x: auto;
  // 标题区
  .be-coming-soon-title {
    display: flex;
    justify-content: space-between;
    // position: absolute;
    // left: 0;
    // top: 0;
    width: 100%;
    height: 20px;
    line-height: 20px;
    background-color: skyblue;
    z-index: 1;
  }
}
</style>
